.xyLayouts {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  :global {
    .appManagementHeaderWrap {
      position: relative;
      z-index: 999;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 50px;
      padding: 0 20px;
      background-color: #f3f5f8;
      background-image: url('@/assets/images/bg/test.png');
      background-position: 50%;
      background-size: contain;
      border-bottom: 1px solid #e0e3e9;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.24);

      &:before {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: -1;
        content: ' ';
        background: linear-gradient(180deg, #f9fafd, #e7eef8);
        opacity: 0.9;
      }

      .bold {
        font-weight: 700;
      }

      .formName {
        color: #999;
      }

      .sc-gwVKww {
        display: flex;
        flex: 1;
        align-items: center;
        cursor: pointer;

        .workbench {
          padding-left: 20px;
          cursor: pointer;

          span {
            padding-left: 5px;
          }
        }

        .el-icon-s-grid {
          font-size: 19px;
          color: #999999;
        }
      }

      .tab {
        color: #2196f3;
        cursor: pointer;
        border-bottom: 3px solid #2196f3;
      }

      .main {
        flex: 1;

        .appTab {
          position: absolute;
          top: 0;
          left: 50%;
          display: flex;
          align-items: center;
          height: 100%;
          padding: 0;
          margin: 0;
          list-style-type: none;
          -webkit-transform: translate(-50%);
          -ms-transform: translate(-50%);
          transform: translate(-50%);

          li {
            box-sizing: border-box;
            min-width: 68px;
            height: 100%;
            padding: 0 10px;
            font-size: 14px;
            font-weight: 700;
            line-height: 50px;
            color: #9e9e9e;
            text-align: center;
            list-style: none;
            cursor: pointer;
            border-bottom: 3px solid transparent;
            transition: all 0.5s;

            &:not(:first-child) {
              margin-left: 15px;
            }
          }

          .active {
            font-weight: 700;
            color: var(--yang-menu-navone-card-active-bg-color);
            cursor: pointer;
            border-bottom-color: var(--yang-menu-navone-card-active-bg-color);
          }
        }
      }

      .back {
        display: flex;
        align-items: center;
        cursor: pointer;

        .el-icon-back {
          font-size: 24px;
          color: #333;
        }

        span {
          padding-left: 10px;
        }
      }

      .add-classify {
        font-size: 16px;
        color: #999;
        cursor: pointer;
        transform: all 0.3s;

        &:hover {
          color: #333;
        }
      }
    }

    .nav-bar {
      position: relative;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 50px;
      padding: 0 15px;
      line-height: 50px;
      background: #ffffff;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);

      .back {
        display: flex;
        align-items: center;
        cursor: pointer;

        .el-icon-back {
          font-size: 24px;
          color: #333;
        }

        span {
          padding-left: 10px;
        }
      }
    }

    .moving {
      display: flex;
      flex: 1;
      margin-top: 1px;
      position: relative;
      .collpa {
        position: absolute;
        top: 70px;
        right: 70px;
        z-index: 2;
        cursor: pointer;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 0 5px #f2f2f2;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        transition: all 0.3s;
        color: #999;
      }

      &-main {
        flex: 1;
      }

      .all-edit-wai {
        transition: all 0.3s;
      }
    }
  }
}
/** 左侧  */
.movingAslide {
  display: flex;
  flex-direction: column;
  width: 300px;
  margin: 0px;
  overflow: auto;
  background-color: #fff;
  :global {
    .tabs {
      width: 300px;
      flex: 1;
      display: flex;
      flex-direction: column ;
      &-item {
        flex: 1;
      }
    }
    .has-scrollbar {
      position: relative;
      width: 100%;
      height: 100%;
      overflow: hidden;

      .nano-content {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        overflow: scroll;
        overflow-x: hidden;

        &::-webkit-scrollbar {
          width: 8px;
          height: 8px;
        }

        &::-webkit-scrollbar-thumb {
          background-color: rgba(#282c34, 0.1);
          border: 3px solid transparent;
          border-radius: 7px;
        }

        &::-webkit-scrollbar-thumb:hover {
          background-color: rgba(#282c34, 0.2);
        }

        .groupList {
          padding: 0px 20px 40px;
          .n-collapse,
          .n-collapse-item
          .n-collapse-item__content-wrapper
          .n-collapse-item__content-inner {
            padding-top: 0 !important;
          }
          .cell {
            width: 100%;
          }

          .group {
            margin-top: 16px;

            .title {
              font-size: 13px !important;
              font-weight: 700;
              color: #333;
            }

            .ul {
              display: flex;
              flex-wrap: wrap;
              justify-content: space-between;
              padding: 0;
              margin: 0;
              margin-top: 12px;
              list-style-type: none;
              -webkit-box-pack: justify;

              .widgetLi {
                position: relative;
                box-sizing: border-box;
                display: flex;
                width: 48%;
                min-height: 36px;
                padding-left: 12px;
                margin-bottom: 12px;
                list-style: none;
                background-color: rgb(255, 255, 255);
                border: 1px solid #e8e9eb;
                border-radius: 4px;
                box-shadow: rgba(0, 0, 0, 0.06) 0px 1px 2px;
                transition: all 0.3s;

                &:hover {
                  background: var(--yang-menu-navtwo-card-active-bg-color);
                  color: var(--n-tab-text-color-active);
                  border-color: var(--n-tab-text-color-active);

                  .widgetItem span {
                    color: var(--n-tab-text-color-active);
                  }
                }

                .widgetItem {
                  box-sizing: border-box;
                  display: flex;
                  align-items: center;
                  width: 100%;
                  padding: 0px;
                  cursor: pointer;
                  -webkit-box-align: center;

                  i {
                    display: inline-block;
                    flex-shrink: 0;
                    width: 25px;
                    font-size: 16px;
                    color: rgb(158, 158, 158);
                  }

                  span {
                    flex-grow: 0;
                    //padding-right: 12px;
                    font-size: 13px !important;
                    line-height: 20px;
                    color: #333;
                    word-break: break-all;
                    transition: all 0.3s;
                    -webkit-box-flex: 0;
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

/** 中间  */
.movingMain {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin: 0px;
  overflow: auto;
  background-color: #f1f2f3;
  :global {
    .movingMain-top {
      padding: 12px 20px 10px 10px;
      background: #fff;
      border-bottom: 1px dotted #cccccc;
    }
    .movingMain-con {
      margin: 10px 10px 0 10px;
      background: #fff;
      flex: 1;
      display: flex;
      flex-direction: column;
    }
    .ghost {
      background: var(--yang-menu-navone-card-active-bg-color);
      outline-width: 0;
      height: 3px !important;
      box-sizing: border-box;
      font-size: 0;
      content: '';
      overflow: hidden;
      border-radius: 5px;
      margin-top: 10px;
      padding: 0 !important;
      .btns {
        opacity: 0 !important;
      }
    }
    .row {
      display: grid;
    }
    .zdy-row {
      margin-top: 10px;
      padding: 25px 10px 10px 10px;
      border: 1px dashed rgba(170, 170, 170, 0.75);
      position: relative;
    }
    .card {
      margin-top: 20px;
      position: relative;
      padding: 10px;
      cursor: move;
      border-radius: 5px;
      position: relative;
      &-active {
        box-shadow: 0 0 5px var(--yang-menu-navone-card-active-bg-color);
      }
      .rank {
        position: relative;
        padding: 0 10px;
        cursor: move;
        top: 6px;
        }
      }

    .zdy-row, .card {

      .btns {
        position: absolute;
        z-index: 2;
        top: -10px;
        right: 20px;
        display: flex;

        .del {
          display: flex;
          align-items: center;
          justify-content: center;
          width: 30px;
          height: 30px;
          margin-left: 10px;
          color: rgb(189, 189, 189);
          cursor: pointer;
          background-color: rgb(255, 255, 255);
          border-radius: 50%;
          box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 4px 2px;
          transition: all 0.3s;
          &:hover {
            color: orangered;
          }
        }
      }
    }
  }
}
.movingMainScroll {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.movingMainScrollContent {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 15px;
  overflow: scroll;
  overflow-x: hidden;
  &::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  &::-webkit-scrollbar-thumb {
    background-color: rgba(#282c34, 0.1);
    border: 3px solid transparent;
    border-radius: 7px;
  }
  &::-webkit-scrollbar-thumb:hover {
    background-color: rgba(#282c34, 0.2);
  }
}
/** 右侧  */
.movingRight {
  display: flex;
  flex-direction: column;
  width: 350px;
  padding-top: 10px;
  background-color: rgb(255, 255, 255);
  border-left: 1px solid rgb(221, 221, 221);
  border-right: 1px solid rgb(221, 221, 221);
  transition: width 0.25s;
  :global {
    .tabs {
      flex: 1;
      display: flex;
      flex-direction: column;
      &-item {
        flex: 1;
      }
    }
    .BaseEdit {
      flex: 1;
      display: flex;
      flex-direction: column;
      width: 100%;
      padding-top: 10px;
      background-color: rgb(255, 255, 255);
      border-left: 1px solid rgb(221, 221, 221);
      border-right: 1px solid rgb(221, 221, 221);
    }
    .has-scrollbar {
      position: relative;
      width: 100%;
      height: 100%;
      overflow: hidden;
      .nano-content {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        overflow: scroll;
        overflow-x: hidden;
        &::-webkit-scrollbar {
          width: 8px;
          height: 8px;
        }
        &::-webkit-scrollbar-thumb {
          background-color: rgba(#282c34, 0.1);
          border: 3px solid transparent;
          border-radius: 7px;
        }
        &::-webkit-scrollbar-thumb:hover {
          background-color: rgba(#282c34, 0.2);
        }
        .settingContentWrap {
          box-sizing: border-box;
          width: 350px;
          padding: 10px 20px;
        }
        .settingItemTitle {
          display: flex;
          align-items: center;
          font-size: 13px;
          color: gray;
          -webkit-box-align: center;
          padding-right: 5px;
        }
        .edit-input {
          width: 100%;
          margin-top: 10px;
        }
      }
    }
  }
}

.movingTbas {
  padding-top: 20px;
  width: 0;
  transition: all 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  :global {
    .tab {
      width: 50px;
      margin: 0 10px 15px 10px;
      padding: 5px 0;
      box-sizing: border-box;
      border-radius: 10px;
      color: #333;
      font-size: 16px;
      cursor: pointer;
      text-align: center;
      &-active {
        background: var(--yang-menu-navone-card-active-bg-color);
        color: #fff;
      }
    }
  }
}

.editModal {
  width: 100%;
  padding: 10px;
  :global {
    .QuestionBasic {
      width: 100%;
      .cell {
        width: 100%;
        .title {
          font-weight: bold;
          font-size: 14px;
        }
      }
      .tip {
        transition: color 0.2s;
        &:hover {
          color: var(--yang-menu-navone-card-active-bg-color);
        }
      }
      .n-collapse .n-collapse-item .n-collapse-item {
        margin-left: 10px !important;
      }
    }
  }
}